package com.flx.at.spring.code.test.testapplicationlistener;

import com.flx.at.spring.code.test.testapplicationlistener.listener.AppListener;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: Fenglixiong
 * @Date: 2021/7/7 16:03
 * @Description:
 */
@Configuration
@ComponentScan(basePackages = "com.flx.at.spring.code.test.testapplicationlistener")
public class ListenerConfig {

    @Bean
    public AppListener applistener(){
        return new AppListener();
    }

}
